package com.neusoft.ysu.npms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
public class Risk implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "riskid", type = IdType.AUTO)
    private Integer riskid;

    private Integer farmerid;

    private Integer friskid;

    private Integer sriskid;

    public Integer getRiskid() {
        return riskid;
    }

    public void setRiskid(Integer riskid) {
        this.riskid = riskid;
    }
    public Integer getFarmerid() {
        return farmerid;
    }

    public void setFarmerid(Integer farmerid) {
        this.farmerid = farmerid;
    }
    public Integer getFriskid() {
        return friskid;
    }

    public void setFriskid(Integer friskid) {
        this.friskid = friskid;
    }
    public Integer getSriskid() {
        return sriskid;
    }

    public void setSriskid(Integer sriskid) {
        this.sriskid = sriskid;
    }

    @Override
    public String toString() {
        return "Risk{" +
            "riskid=" + riskid +
            ", farmerid=" + farmerid +
            ", friskid=" + friskid +
            ", sriskid=" + sriskid +
        "}";
    }
}
